package com.ynny.zuoye05;

public class Test {
    public static void main(String[] args) {

        Student student = new Student();
        student.study();

        System.out.println("~~~");

        CollegeStudent collegeStudent = new CollegeStudent();
        collegeStudent.study();
        collegeStudent.english();
        collegeStudent.computer();
        System.out.println("~~~");

        Basketball basketball = new Basketball();
        basketball.tosport();
        System.out.println("~~~");


        Footballer footballer = new Footballer();
        footballer.tosport();
        footballer.english();


    }
}